package com.za.wbw.dao.shop.impl;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.za.wbw.dao.shop.UserDao;
import com.za.wbw.model.shop.UserInfo;

public class UserDaoImpl extends SqlMapClientDaoSupport implements UserDao {
	// 查询用户信息
	public UserInfo queryUserInfo(int userId) throws Exception {
		return (UserInfo)getSqlMapClientTemplate().queryForObject("shop.queryUserInfo",userId);
	}
	// 更新用户信息
	public void updateUserInfo(UserInfo info) throws Exception {
		
	}
}
